
local LoginScene =  BaseClass(BaseSceneLogic)

function LoginScene:__init()
	
end

function LoginScene:__delete()


end
local isNow=false
function LoginScene:Enter(new_scene_type)
	BaseSceneLogic.Enter( new_scene_type)
	isNow=true
	UIManager:GetInstance():OpenUI("mainmenu")
	
	--CreatObjForm:GetInstance()
	CameraController:GetInstance()
	EntityManager:GetInstance():AddCharater({objId =1 })
end

function  LoginScene:Update(detaTime)
	if isNow then
        CameraController:GetInstance():Update()
	EntityManager:GetInstance():Update(detaTime)
	end
end


--退出
function LoginScene:Out(new_scene_type)
	BaseSceneLogic.Out( new_scene_type)

end

return LoginScene
